/**
 *  交叉类型
 */
interface Employee{
    empno:string
    ename:string
    salary:number
    deptno:string
}
interface Enginee{
    eno:string
    name:string
    telephoy:string
}
interface Contact{
    phone:string
    address:string
    weixin:string
}

type OfficeEmployee=Employee&Contact
type OfficeEnginee=Enginee&Contact

const e1:OfficeEmployee={empno:'e10101',ename:'张小花',salary:10000,deptno:'财务部',phone:'17765454343',address:'西安市未央区',weixin:'wx10001'}